<template>
    <!-- TODO:解决require问题 -->
  <!-- <command-box
    command-type="A6"
    :logo="require('@/assets/images/command/extract-log.png')"
    :command-name="commandName"
    :command-desc="desc"
    :last-command-data="lastCommandData"
    :new-command-event="newCommandEvent"
    :download-button-callback="downloadLog"
  /> -->
  <command-box
    command-type="A6"
    :command-name="commandName"
    :command-desc="desc"
    :last-command-data="lastCommandData"
    :new-command-event="newCommandEvent"
    :download-button-callback="downloadLog"
  />
</template>

<script>
import CommandBox from './command-box'

export default {
  components: {
    CommandBox
  },
  props: {
    lastCommandData: {
      id: Number,
      time: String
    },
    newCommandEvent: Function,
    downloadLog: Function
  },
  data() {
    return {
      commandName: this.$t('cmd.introduction.extract_log_name'),
      desc: this.$t('cmd.introduction.extract_log_desc')
    }
  }
}
</script>

<style scoped>

</style>
